package com.ly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.entity.SysRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gwq
 * @since 2022-06-07
 */
public interface SysRoleService extends IService<SysRole> {

    List<SysRole> listRolesByUserId(String id);

    SysRole getByCode(String code);

    SysRole getByUserId(String userId);

    SysRole getUserIdRole(String userId);
}
